<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>财合税后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="${path}/css/font.css">
    <link rel="stylesheet" href="${path}/css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="${path}/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${path}/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        ul li{
            padding: 10px 0;
            border-bottom: 1px solid #fff;
            overflow: hidden;
        }
        p span{
            color: #ff5722;
        }
        .sameDiv{
            padding: 20px 0;
            overflow: hidden;
            border-bottom: 1px solid #ccc;
        }
        .sameDiv:last-child{
            border-bottom: none;
        }
    </style>
</head>

<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">财合税</a>
        <a href="">问答管理</a>
        <a><cite>问答详情</cite></a>
      </span>
</div>
<div class="x-body" style="padding-bottom: 50px;overflow: hidden">
    <xblock style="overflow: hidden;background: #fff;border-bottom: 1px solid #ccc;margin-bottom: 0">
        <div class="btnCon">
            <button class="layui-btn" style="float: right;margin-left: 10px">删除</button>
            <button class="layui-btn" style="float: right">回复</button>
            <button class="layui-btn" style="float: right">审核不通过</button>
            <button class="layui-btn" style="float: right">审核通过</button>
        </div>
        <div style="width: 100%;float: left">
            <img src="images/headImg.png" alt="头像" style="width: 32px;margin:0 10px"/>
            <span style="margin-right: 10px">张某某</span>
            <span>12分12秒前</span>
        </div>
        <p style="float: left;padding: 20px 10px 0 10px">委外研发成功后，委托外部生产产品，这样的公司能不能申请高新技术企业</p>
        <div style="float: left;width: 100%">
            <div style="float: right;margin-right: 10px">关注<span style="color: #ff5722">100000+</span></div>
            <div style="float: right;margin-right: 10px">回答<span style="color: #ff5722">10000+</span></div>
            <div style="float: right;margin-right: 10px">悬赏¥<span style="color: #ff5722">50000</span>元</div>
        </div>
    </xblock>
</div>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render({
            elem: '#start' //指定元素
        });

        //执行一个laydate实例
        laydate.render({
            elem: '#end' //指定元素
        });
    });

    /*用户-停用*/
    function member_stop(obj,id){
        layer.confirm('确认要停用吗？',function(index){

            if($(obj).attr('title')=='启用'){

                //发异步把用户状态进行更改
                $(obj).attr('title','停用')
                $(obj).find('i').html('&#xe62f;');

                $(obj).parents("tr").find(".td-status").find('span').addClass('layui-btn-disabled').html('已停用');
                layer.msg('已停用!',{icon: 5,time:1000});

            }else{
                $(obj).attr('title','启用')
                $(obj).find('i').html('&#xe601;');

                $(obj).parents("tr").find(".td-status").find('span').removeClass('layui-btn-disabled').html('已启用');
                layer.msg('已启用!',{icon: 5,time:1000});
            }

        });
    }

    function question_detail(obj,id){
        window.location.href = "question-detail.html?id="+id;
    }

    function delAll (argument) {

        var data = tableCheck.getData();

        layer.confirm('确认要删除吗？'+data,function(index){
            //捉到所有被选中的，发异步进行删除
            layer.msg('删除成功', {icon: 1});
            $(".layui-form-checked").not('.header').parents('tr').remove();
        });
    }
</script>
<script>var _hmt = _hmt || []; (function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
})();</script>
</body>

</html>